package org.example.bookstore.service;

import org.example.bookstore.custom.ResultVO;
import org.example.bookstore.pojo.DO.Address;
import org.springframework.stereotype.Service;

@Service
public interface AddressService {

    //用户添加地址
    ResultVO<?> insertAddress(Address address);

    //用户删除地址
    ResultVO<?> delAddress(Integer id);

    //通过id查询用户所有地址
    ResultVO<?> getAddress(Integer id);

    //通过地址id对地址进行修改
    ResultVO<?> UpdateAddress(Address address);
}
